package cn.iocoder.an.module.mold.controller.admin.upkeepcategory.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import jakarta.validation.constraints.*;

@Schema(description = "管理后台 - 保养类型新增/修改 Request VO")
@Data
public class UpkeepCategorySaveReqVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "7418")
    private Long id;

    @Schema(description = "启用状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "启用状态不能为空")
    private Integer status;

    @Schema(description = "编码")
    private String code;

    @Schema(description = "名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "李四")
    @NotEmpty(message = "名称不能为空")
    private String name;

    @Schema(description = "核算方式", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "核算方式不能为空")
    private Integer accountMethod;

    @Schema(description = "保养周期", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "保养周期不能为空")
    private Long upkeepPeriod;

    @Schema(description = "制单周期", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "制单周期")
    private Long tobePeriod;

    @Schema(description = "提醒周期", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "提醒周期不能为空")
    private Long reminderPeriod;

    @Schema(description = "备注", example = "你猜")
    private String description;

}